package com.qianfeng.smartmetting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianfeng.smartmetting.entity.TimeSlot;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TimeSlotMapper extends BaseMapper<TimeSlot> {
    // 当参数有多个的时候，mapper.xml中获取参数会造成混乱 所以需要使用@Param注解
    List<TimeSlot> findByRoomId(@Param("roomid") Integer roomid,Integer start,Integer limit);
}
